package com.zeei.ems.base.vo;

import com.zeei.ems.base.util.StringUtil;

import java.util.List;


/**
 * @author 罗向林
 * @version 创建时间：2016年7月29日 实时数据的属性
 */
public class DataQueryVO {
	/** 因子编码 */
	private String polluteCode;

	/** 因子名称 */
	private String polluteName;

	/** 因子英文名称 */
	private String enName;

	/** 总量单位 */
	private String pollconCUnit;

	/** 总量单位 */
	private String polluteAmountUnit;

	/** 精度 */
	private Integer numprecision;
	
	/** 评价精度 */
	private Integer rankPrecision;

	/** 排序 */
	private Integer orderNum;

	/** 因子分组编码 */
	private Integer groupCode;

	/** 因子分组名称 */
	private String groupName;

	/** 数据时间 */
	private String dataTime;
	/** 数据时间月份部分 */
	private Integer dataMonth;
	/** 数据时间天数部分 */
	private Integer dataDay;
	/** 数据时间小时部分 */
	private Integer dataHour;

	/** 数据值 */
	private String dataValue;

	private String wlCode;

	private String streamName;

	/** 数据值 */
	private Double ddataValue;
	
	/** 数据值 */
	private Double dauditValue;

	/** 审核值 */
	private String auditValue;
	/** 数据状态 */
	private String dataStatus;
	/** 是否有效 */
	private byte isValided;
	/** 审核备注 */
	private String remark;
	/** 审核人 */
	private String auditPerson;
	/** 操作ip */
	private String operatorIP;
	/** 表名 */
	private String table;
	/** 数据值 */
	private Integer state;
	/** 测点编码 */
	private String pointCode;
	/** 测点名称 */
	private String pointName;
	/** 企业编码 */
	private String psCode;
	/** 企业名称 */
	private String enterName;
	/** 区域编码 */
	private String regionCode;
	/** 区域名称 */
	private String regionName;
	/** 测站编码 */
	private int ptationCode;
	/** 测站名称 */
	private String stationName;
	/** 数据标识 */
	private String dataFlag;
	private String polluteClass;
	private String valueCount;
	private String sumCount;
	/** 水质类别 */
	private String waterLevel;
	private String lastWeekWaterLevel;
	
	/**小时数据上报周期*/
	private Integer hhCycleTime;

	/**
	 * 断面类型，是断面或者湖泊
	 */
	private String secType;

	public Double getDauditValue() {
		return Double.valueOf(auditValue);
	}

	public String getSecType() {
		return secType;
	}

	public void setSecType(String secType) {
		this.secType = secType;
	}

	public String getPointCode() {
		return pointCode;
	}

	public void setPointCode(String pointCode) {
		this.pointCode = pointCode;
	}

	public String getPointName() {
		return pointName;
	}

	public void setPointName(String pointName) {
		this.pointName = pointName;
	}

	public int getPtationCode() {
		return ptationCode;
	}

	public void setPtationCode(int ptationCode) {
		this.ptationCode = ptationCode;
	}

	public String getStationName() {
		return stationName;
	}

	public void setStationName(String stationName) {
		this.stationName = stationName;
	}

	public void setGroupType(Short groupType) {
		this.groupType = groupType;
	}


	public String getPolluteCode() {
		return polluteCode;
	}

	public void setPolluteCode(String polluteCode) {
		this.polluteCode = polluteCode;
	}

	public String getPolluteName() {
		return polluteName;
	}

	public void setPolluteName(String polluteName) {
		this.polluteName = polluteName;
	}

	public String getEnName() {
		return enName;
	}

	public void setEnName(String enName) {
		this.enName = enName;
	}

	public String getPollconCUnit() {
		return pollconCUnit;
	}

	public void setPollconCUnit(String pollconCUnit) {
		this.pollconCUnit = pollconCUnit;
	}

	public String getPolluteAmountUnit() {
		return polluteAmountUnit;
	}

	public void setPolluteAmountUnit(String polluteAmountUnit) {
		this.polluteAmountUnit = polluteAmountUnit;
	}

	public Integer getNumPrecision() {
		return numprecision;
	}

	public void setNumPrecision(Integer numprecision) {
		this.numprecision = numprecision;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	public Integer getGroupCode() {
		return groupCode;
	}

	public void setGroupCode(Integer groupCode) {
		this.groupCode = groupCode;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getDataTime() {
		return dataTime;
	}

	public void setDataTime(String dataTime) {
		this.dataTime = dataTime;
	}

	public String getDataValue() {
		return dataValue;
	}

	public void setDataValue(String dataValue) {
		this.dataValue = dataValue;
	}

	private Short groupType;

	public Short getGroupType() {
		return groupType;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getState() {
		return state;
	}


	/** 超标数据行 */
	private String sMinValue;
	private String sMaxValue;
	private String sUnit;

	public String getsMinValue() {
		return sMinValue;
	}

	public void setsMinValue(String sMinValue) {
		this.sMinValue = sMinValue;
	}

	public String getsMaxValue() {
		return sMaxValue;
	}

	public void setsMaxValue(String sMaxValue) {
		this.sMaxValue = sMaxValue;
	}

	public String getsUnit() {
		return sUnit;
	}

	public void setsUnit(String sUnit) {
		this.sUnit = sUnit;
	}

	public String getDataFlag() {
		return dataFlag;
	}

	public void setDataFlag(String dataFlag) {
		this.dataFlag = dataFlag;
	}

	public String getPolluteClass() {
		return polluteClass;
	}

	public void setPolluteClass(String polluteClass) {
		this.polluteClass = polluteClass;
	}

	public String getValueCount() {
		return valueCount;
	}

	public void setValueCount(String valueCount) {
		this.valueCount = valueCount;
	}

	public String getSumCount() {
		return sumCount;
	}

	public void setSumCount(String sumCount) {
		this.sumCount = sumCount;
	}

	public String getAuditValue() {
		return auditValue;
	}

	public void setAuditValue(String auditValue) {
		this.auditValue = auditValue;
	}

	public String getDataStatus() {
		return dataStatus;
	}

	public void setDataStatus(String dataStatus) {
		this.dataStatus = dataStatus;
	}

	public byte getIsValided() {
		return isValided;
	}

	public void setIsValided(byte isValided) {
		this.isValided = isValided;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getAuditPerson() {
		return auditPerson;
	}

	public void setAuditPerson(String auditPerson) {
		this.auditPerson = auditPerson;
	}

	public String getTable() {
		return table;
	}

	public void setTable(String table) {
		this.table = table;
	}

	public String getOperatorIP() {
		return operatorIP;
	}

	public void setOperatorIP(String operatorIP) {
		this.operatorIP = operatorIP;
	}

	public String getPsCode() {
		return psCode;
	}

	public void setPsCode(String psCode) {
		this.psCode = psCode;
	}

	public String getEnterName() {
		return enterName;
	}

	public void setEnterName(String enterName) {
		this.enterName = enterName;
	}

	public Integer getDataHour() {
		return dataHour;
	}

	public void setDataHour(Integer dataHour) {
		this.dataHour = dataHour;
	}

	public Integer getDataMonth() {
		return dataMonth;
	}

	public void setDataMonth(Integer dataMonth) {
		this.dataMonth = dataMonth;
	}

	public Integer getDataDay() {
		return dataDay;
	}

	public void setDataDay(Integer dataDay) {
		this.dataDay = dataDay;
	}

	public String getRegionCode() {
		return regionCode;
	}

	public void setRegionCode(String regionCode) {
		this.regionCode = regionCode;
	}

	public String getRegionName() {
		return regionName;
	}

	public void setRegionName(String regionName) {
		this.regionName = regionName;
	}

	public String getWaterLevel() {
		return waterLevel;
	}

	public void setWaterLevel(String waterLevel) {
		this.waterLevel = waterLevel;
	}

	public String getLastWeekWaterLevel() {
		return lastWeekWaterLevel;
	}

	public void setLastWeekWaterLevel(String lastWeekWaterLevel) {
		this.lastWeekWaterLevel = lastWeekWaterLevel;
	}

	public Double getDdataValue() {
		if (StringUtil.isNotEmpty(dataValue)) {
			return Double.valueOf(dataValue);
		}
		return null;
	}

	public String getWlCode() {
		return wlCode;
	}

	public void setWlCode(String wlCode) {
		this.wlCode = wlCode;
	}

	public String getStreamName() {
		return streamName;
	}

	public void setStreamName(String streamName) {
		this.streamName = streamName;
	}

	public Integer getHhCycleTime() {
		return hhCycleTime;
	}

	public void setHhCycleTime(Integer hhCycleTime) {
		this.hhCycleTime = hhCycleTime;
	}

	
	public Integer getRankPrecision() {
		return rankPrecision;
	}

	public void setRankPrecision(Integer rankPrecision) {
		this.rankPrecision = rankPrecision;
	}

	
}
